package com.guage.model;
import com.guage.commons.result.PageInfo;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author dechao.yang
 * @since 2017-12-14
 */
@TableName("shop_application_school")
public class ShopApplicationSchool extends Model<ShopApplicationSchool> {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 学校编码
     */
	@TableField("school_id")
	private Long schoolId;
    /**
     * 学校名称
     */
	@TableField("school_name")
	private String schoolName;
    /**
     * 学校描述
     */
	@TableField("school_description")
	private String schoolDescription;
    /**
     * 学校类别
     */
	@TableField("school_type")
	private Integer schoolType;
    /**
     * 申请人编码
     */
	@TableField("user_id")
	private Integer userId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(Long schoolId) {
		this.schoolId = schoolId;
	}

	public String getSchoolName() {
		return schoolName;
	}

	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}

	public String getSchoolDescription() {
		return schoolDescription;
	}

	public void setSchoolDescription(String schoolDescription) {
		this.schoolDescription = schoolDescription;
	}

	public Integer getSchoolType() {
		return schoolType;
	}

	public void setSchoolType(Integer schoolType) {
		this.schoolType = schoolType;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
